FROM java:8
VOLUME /tmp
ADD app-redis-center-1.0.jar app-redis-center-1.0.jar
RUN sh -c 'touch /app-redis-center-1.0.jar'
RUN echo "Europe/London" > /etc/timezone
ENV JAVA_OPTS=""
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app-redis-center-1.0.jar"]